<div id="index">
    <div class="banner">
        <img src="<?=$adModel->img_path?>" alt="<?=$adModel->title;?>"/>
    </div>
    <div class="btns l-f t-center">
        <div class="space"></div>
        <div class="l-f-g1">
            <a href="/home/view" class="btnType2">查看联系方式</a>
        </div>
        <div class="space"></div>
        <div class="l-f-g1">
            <a href="/home/submit" class="btnType1">提交联系方式</a>
        </div>
        <div class="space"></div>
    </div>
    <div class="page">
        <img src="/img/indexP1.png" alt=""/>
        <img src="/img/indexP2.png" alt=""/>
        <img src="/img/indexP3.png" alt=""/>
    </div>
</div>
<script>
    $(function(){
        $(window).on('scroll', function(){
            if($(window).height() + $(window).scrollTop() >= $(document).height()){
                window.location.href = '/home/view?isdefault=1';
            }
        })
    });
</script>
